package cn.ymz;

import java.io.IOException;

public class Obj {
    static {
        System.out.println("这是我注入的代码");


        Runtime runtime = Runtime.getRuntime();
        try {
            Process ping_ = runtime.exec("open /Applications/高德地图.app");
            System.out.println(ping_);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
